package clusteringAlg;

import org.opencv.core.Mat;

public class RelationSample extends Sample {

	double relation;
	
	/**
	 * @param sample
	 * @param relation
	 */
	public RelationSample(Sample sample, double relation) {
		super();
		this.setImage(sample.getImage());
		this.setPose(sample.getPose());
		this.setScaledImage(sample.getScaledImage());
		this.relation = relation;
	}
	
	/**
	 * @param relation
	 */
	public RelationSample(double relation) {
		super();
		this.relation = relation;
	}

	/**
	 * @return the relation
	 */
	public double getRelation() {
		return relation;
	}

	/**
	 * @param relation the relation to set
	 */
	public void setRelation(double relation) {
		this.relation = relation;
	}

	public RelationSample() {
		// TODO Auto-generated constructor stub
	}

	public RelationSample(Mat image, int pose, double[] array) {
		super(image, pose, array);
		// TODO Auto-generated constructor stub
	}

	public RelationSample(Mat image, int pose) {
		super(image, pose);
		// TODO Auto-generated constructor stub
	}

	public RelationSample(Mat image) {
		super(image);
		// TODO Auto-generated constructor stub
	}
	
	

}
